home *** CD-ROM | disk | FTP | other *** search
/ Iron Maiden - Maiden Hell! / Iron Maiden - Maiden Hell! Promotional CD-ROM.iso / mac / promo.dxr / scripts_41_audio prev track = .ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  935 b   |  28 lines

  1. on mouseEnter
  2.   global gCDtrackplaying, gCD
  3.   if gCDtrackplaying > 1 then
  4.     set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
  5.   else
  6.     set the cursor of sprite the currentSpriteNum to 0
  7.   end if
  8. end
  9.  
  10. on mouseDown
  11.   global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
  12.   if gCDtrackplaying > 1 then
  13.     set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "w"
  14.     set gCDtrackplaying to gCDtrackplaying - 1
  15.     set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "r"
  16.     play(gCD, gCDtrackplaying, gHowManyTracksOnAlbum)
  17.     set the member of sprite 1 to "audiobg" & string(gCDtrackplaying)
  18.     startTimer()
  19.     repeat while the timer < 15
  20.     end repeat
  21.   end if
  22.   set the cursor of sprite the currentSpriteNum to 0
  23. end
  24.  
  25. on mouseLeave
  26.   set the cursor of sprite the currentSpriteNum to 0
  27. end
  28.